package com.atwulidun.strategy21;

public interface Fly {
    void fly();
}

class HighFly implements Fly {
    @Override
    public void fly() {
        System.out.println("鸭子飞得高~~");
    }
}
class LowFly implements Fly {
    @Override
    public void fly() {
        System.out.println("鸭子飞得低~~");
    }
}
class NoFly implements Fly {
    @Override
    public void fly() {
        System.out.println("鸭子不会飞~~");
    }
}